package designs.models.proxy.example.three;

import java.rmi.Naming;

public class BindRemoteWindow {
	public static void main(String[] args) {
		try {
			RemoteConcreteWindow remoteConcreteWindow = new RemoteConcreteWindow();
			Naming.rebind("rmi://127.0.0.1/window", remoteConcreteWindow);
			System.out.println("be ready for client server...");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
